Skip to content

jjbb: Daily Releasable Artifacts pipeline#7531

Merged
v1v merged 3 commits into
elastic:mainfrom
v1v:feature/dra-second-approach-jjbb
Mar 17, 2022
Merged

jjbb: Daily Releasable Artifacts pipeline#7531
v1v merged 3 commits into
elastic:mainfrom
v1v:feature/dra-second-approach-jjbb

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Mar 14, 2022

What

JJBB for #7530

### Why

Separate the concerns related to the build and test versus the package generation.

@v1v v1v marked this pull request as draft March 14, 2022 10:55
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 14, 2022

This pull request does not have a backport label. Could you fix it @v1v? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.x is the label to automatically backport to the 7.x branch.
  • backport-7./d is the label to automatically backport to the 7./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@mergify mergify Bot added the backport-skip Skip notification from the automated backport with mergify label Mar 14, 2022
@ghost
Copy link
Copy Markdown

ghost commented Mar 14, 2022

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-03-16T12:02:26.188+0000

  • Duration: 58 min 28 sec

Test stats 🧪

Test Results
Failed 1
Passed 4381
Skipped 14
Total 4396

Test errors 1

Expand to view the tests failures

Build and Test / APM Integration Tests / test_req_dotnet – tests.agent.test_dotnet
    Expand to view the error details

     elasticsearch.exceptions.TransportError: TransportError(503, 'search_phase_execution_exception', '[9a81a49b7a82][172.18.0.2:9300][indices:data/read/search[phase/query]]') 
    

    Expand to view the stacktrace

     dotnet = <tests.fixtures.agents.Agent object at 0x7f3a35666450>
    
        @pytest.mark.version
        @pytest.mark.dotnet
        def test_req_dotnet(dotnet):
            utils.check_agent_transaction(
    >           dotnet.foo, dotnet.apm_server.elasticsearch)
    
    tests/agent/test_dotnet.py:11: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    tests/utils.py:16: in check_agent_transaction
        check_elasticsearch_count(elasticsearch, ct)
    tests/utils.py:54: in check_elasticsearch_count
        actual = elasticsearch.count(query)
    venv/lib/python3.7/site-packages/timeout_decorator/timeout_decorator.py:81: in new_function
        return function(*args, **kwargs)
    tests/fixtures/es.py:41: in count
        s = self.es.count(index=self.index, body=q)
    venv/lib/python3.7/site-packages/elasticsearch/client/utils.py:301: in _wrapped
        return func(*args, params=params, headers=headers, **kwargs)
    venv/lib/python3.7/site-packages/elasticsearch/client/__init__.py:553: in count
        body=body,
    venv/lib/python3.7/site-packages/elasticsearch/transport.py:456: in perform_request
        raise e
    venv/lib/python3.7/site-packages/elasticsearch/transport.py:426: in perform_request
        timeout=timeout,
    venv/lib/python3.7/site-packages/elasticsearch/connection/http_requests.py:216: in perform_request
        self._raise_error(response.status_code, raw_data)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    self = <RequestsHttpConnection: http://elasticsearch:9200>, status_code = 503
    raw_data = '{"error":{"root_cause":[{"type":"no_shard_available_action_exception","reason":"[9a81a49b7a82][172.18.0.2:9300][indic...d":"BEW3AxwURFqRxbGUmTshOQ","shard":"0","index":".ds-metrics-apm.internal-default-2022.03.16-000001"}}]},"status":503}'
    
        def _raise_error(self, status_code, raw_data):
            """Locate appropriate exception and raise it."""
            error_message = raw_data
            additional_info = None
            try:
                if raw_data:
                    additional_info = json.loads(raw_data)
                    error_message = additional_info.get("error", error_message)
                    if isinstance(error_message, dict) and "type" in error_message:
                        error_message = error_message["type"]
            except (ValueError, TypeError) as err:
                logger.warning("Undecodable raw error response from server: %s", err)
        
            raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
    >           status_code, error_message, additional_info
            )
    E       elasticsearch.exceptions.TransportError: TransportError(503, 'search_phase_execution_exception', '[9a81a49b7a82][172.18.0.2:9300][indices:data/read/search[phase/query]]')
    
    venv/lib/python3.7/site-packages/elasticsearch/connection/base.py:338: TransportError 
    

Pipeline error 1

This error is likely related to the pipeline itself. Please go to the traditional console output here" You will see the error (either a wrong syntax or configuration)

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /hey-apm : Run the hey-apm benchmark.

  • /package : Generate and publish the docker images.

  • /test windows : Build & tests on Windows.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@v1v v1v marked this pull request as ready for review March 17, 2022 09:01
@v1v v1v requested a review from a team March 17, 2022 09:02
@v1v v1v self-assigned this Mar 17, 2022
@v1v
Copy link
Copy Markdown
Member Author

v1v commented Mar 17, 2022

I'll merge this PR now, existing running CI checks are unrelated to this change. This change is not tested

@v1v v1v merged commit fd4ee95 into elastic:main Mar 17, 2022
@ghost
Copy link
Copy Markdown

ghost commented Mar 17, 2022

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-03-17T09:03:13.626+0000

  • Duration: 42 min 6 sec

Test stats 🧪

Test Results
Failed 0
Passed 4382
Skipped 14
Total 4396

Pipeline error 1

This error is likely related to the pipeline itself. Please go to the traditional console output here" You will see the error (either a wrong syntax or configuration)

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /hey-apm : Run the hey-apm benchmark.

  • /package : Generate and publish the docker images.

  • /test windows : Build & tests on Windows.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

v1v added a commit to v1v/apm-server that referenced this pull request Mar 17, 2022
…approach

* upstream/main:
  jjbb: Daily Releasable Artifacts pipeline (elastic#7531)
  [Automation] Update elastic stack version to 8.2.0-ff67d7b8 for testing (elastic#7561)
  Update to elastic/beats@b9d17e0c161b (elastic#7560)
  systemtest: set min TLS version to 1.2 (elastic#7551)
  Update module deps (elastic#7552)
  [Automation] Update elastic stack version to 8.2.0-9bac538c for testing (elastic#7549)
  Update to elastic/beats@ab30a0234e1c (elastic#7546)
  [automation] update libbeat and beats packaging (elastic#7534)
  Fix modelindexer benchmarks (elastic#7533)
  [Automation] Update elastic stack version to 8.2.0-fee3b8d2 for testing (elastic#7537)
  Removed `observer.version_major` (elastic#7399)
  [Docs - OpenTelemetry] Document limitation on OTLP/HTTP not being supported (elastic#7505)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip notification from the automated backport with mergify

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants